.topNav {
  margin: 0 auto;
  font-size: 12px;
  color: #828282;
  height: 35px;
  line-height: 35px;
  clear: both;
  background: #f5f5f5;
  border-bottom: solid 1px #eee;
}

.w {
  width: 1200px;
  margin: 0 auto;
}
.w .fl {
  float: left;
}
.w .fl a {
  color: red;
}
.w .fr {
  float: right;
}
.w .fr .dao_hang {
  text-align: center;
}
.w .fr .dao_hang li {
  position: relative;
  float: left;
  width: 110px;
}
.w .fr .dao_hang li #out {
  position: absolute;
  top: -2px;
  float: right;
  font-style: normal;
}
@keyframes demo {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}
.w .fr .dao_hang li .ulbox {
  position: fixed;
  line-height: 35px;
  width: 110px;
  z-index: 15;
  background-color: ghostwhite;
  display: none;
}
.w .fr .dao_hang li .ulbox li {
  float: left;
}
.w .fr .dao_hang li .ulbox li:hover {
  background-color: cornsilk;
}
.w .fr .dao_hang li .ulbox li:hover a {
  color: red;
}
.w .fr .dao_hang li:nth-child(5) {
  width: 120px;
  text-align: center;
}
.w .fr .dao_hang li:nth-child(5) img {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}
.w .fr .dao_hang li:hover {
  color: red;
}
.w .fr .dao_hang li:hover #out {
  top: 4px;
  animation: demo 0.2s linear forwards;
}
.w .fr .dao_hang li:hover .ulbox {
  display: block;
}
.w .fr .dao_hang .outlist:hover {
  background-color: ghostwhite;
}

.header {
  padding: 20px 0 16px;
  height: 70px;
}
.header .f {
  float: left;
}
.header #logo {
  width: 185px;
  margin-right: 13px;
}
.header #slogan {
  width: 170px;
  margin-right: 42px;
}
.header #search {
  width: 540px;
  margin: 7px 7px 0 0;
  position: relative;
  z-index: 11;
  display: block;
  float: left;
}
.header #search .form {
  width: auto;
  height: 36px;
}
.header #search .form .text {
  float: left;
  width: 450px;
  height: 24px;
  line-height: 24px;
  color: #666;
  padding: 4px;
  margin-bottom: 4px;
  border-width: 2px 0 2px 2px;
  border-color: #f40;
  border-style: solid;
  outline: 0;
  font-size: 14px;
  border-radius: 0;
}
.header #search .form .fdj {
  background: url(../img/sprite.png) 15px -64px no-repeat;
}
.header #search .button {
  position: relative;
  float: left;
  width: 80px;
  height: 36px;
  background: #f40;
  border: none;
  line-height: 1;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  outline: none;
}
.header #search .button i {
  display: block;
  width: 50px;
  height: 22px;
  line-height: 22px;
  margin: 0 auto;
}
.header #minicart {
  float: left;
  position: relative;
  z-index: 12;
  height: 34px;
  line-height: 34px;
  margin: 7px 10px 0 0;
  display: block;
  color: #000;
}
.header #minicart .hd {
  position: relative;
  width: 80px;
  float: left;
  display: block;
  padding: 0 35px 0 10px;
  background: #faf9f9;
  border: 1px solid #e8cdc3;
}
.header #minicart .hd .rig {
  width: 34px;
  height: 34px;
  position: absolute;
  background: url(../img/sprite.png) -50px -130px;
  background-size: 50px;
}
.header #minicart .hd .count {
  position: absolute;
  right: -5px;
  top: -5px;
  background-color: #f40;
  color: white;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 50%;
  text-align: center;
}
.header #hotwords {
  width: 500px;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
}
.header #hotwords a {
  float: left;
  white-space: nowrap;
  margin-right: 12px;
  color: #999;
}
.header #wx-app {
  float: right;
  position: relative;
}
.header #wx-app img {
  position: absolute;
  top: -80px;
  left: -95px;
  z-index: 2;
}
.header #wx-app .ii {
  position: absolute;
  top: -117px;
  left: -75px;
  font-size: 50px;
  color: white;
  font-style: normal;
}

#nav {
  height: 43px;
  border-bottom: solid 1px #000;
}
#nav .category:hover .cg-bd {
  display: block;
}
#nav .category .cg-hd {
  width: 170px;
  position: relative;
  text-align: center;
  height: 43px;
  line-height: 43px;
  padding: 0 55px 0 10px;
  cursor: pointer;
  color: #fff;
  background: url(../img/sprite.png) 8px 6px no-repeat #f40;
  background-size: 62px;
}
#nav .category .cg-bd {
  display: none;
  width: 235px;
  position: absolute;
  background: #000;
  border-bottom: solid 1px;
  border-top: solid 1px;
  z-index: 9;
}
#nav .category .cg-bd i {
  font-style: normal;
}
#nav .category .cg-bd .item:hover .sub-cate {
  display: block;
}
#nav .category .cg-bd .item:hover {
  background-color: white;
}
#nav .category .cg-bd .item:hover a {
  color: #f40;
}
#nav .category .cg-bd .item:hover i {
  color: #f40;
}
#nav .category .cg-bd .main-cata {
  position: relative;
  height: 44px !important;
  line-height: 44px !important;
  overflow: hidden;
  padding: 0 20px 0 19px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}
#nav .category .cg-bd .main-cata > a {
  color: white;
}
#nav .category .cg-bd .main-cata i {
  color: white;
}
#nav .category .cg-bd .sub-cate {
  background-color: white;
  display: flex;
  display: none;
  position: absolute;
  left: 100%;
  top: 0px;
  width: 917px;
}
#nav .category .cg-bd .sub-cate .sub-cate-l {
  float: left;
  font-size: 14px;
  width: 494px;
  height: 430px;
  line-height: 28px;
  background: #fff;
  padding: 10px 0 0 30px;
}
#nav .category .cg-bd .sub-cate .sub-cate-l h4 {
  color: #f40;
}
#nav .category .cg-bd .sub-cate .sub-cate-l .sub-cate-list {
  margin-bottom: 12px;
}
#nav .category .cg-bd .sub-cate .sub-cate-l .sub-cate-list a {
  color: #000;
  margin: 0 20px 12px 0;
}
#nav .category .cg-bd .sub-cate .sub-cate-l .sub-cate-list .hl {
  color: #f40;
}
#nav .category .cg-bd .sub-cate .sub-cate-r {
  height: 430px;
  background-color: gainsboro;
  margin: 0 20px;
  float: left;
}
#nav .category .cg-bd .sub-cate .sub-cate-r .sub-cate-list ul {
  box-sizing: border-box;
  padding: 5px;
}
#nav .category .cg-bd .sub-cate .sub-cate-r .sub-cate-list ul li img {
  width: 104px;
  height: 60px;
  display: block;
  margin: 3px 5px;
  float: left;
}

.nav {
  padding-left: 44px;
}
.nav ul > li {
  line-height: 43px;
  float: left;
  text-align: center;
  margin: 0 10px;
}
.nav ul > li a {
  color: #000 !important;
}
.nav ul > li a:hover {
  color: #f40 !important;
}

.news {
  width: 300px;
  height: 40px;
  position: relative;
  left: 250px;
  overflow: hidden;
}
.news .tempwrap {
  line-height: 22px;
  font-size: 14px;
}
.news .tempwrap a {
  color: gray;
}